package com.xbzl.cly_demo.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@ConfigurationProperties(prefix = "mqtt")
@Data
public class MqttProperties {

    String url;
    String userName;
    String password;
    String clientId;
    String subTopics;
}
